{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Jupyter Scilab Kernel\n",
    "============\n",
    "\n",
    "Interact with Scilab in the Notebook. All commands are interpreted by Scilab.  Since this is a [MetaKernel](https://github.com/Calysto/metakernel), a standard set of magics are available.  Help on commands is available using the `%help` magic or using `?` with a command."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<svg height=\"336\" style=\"fill-opacity:1; color-rendering:auto; color-interpolation:auto; text-rendering:auto; stroke:black; stroke-linecap:square; stroke-miterlimit:10; shape-rendering:auto; stroke-opacity:1; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:'Dialog'; font-style:normal; stroke-linejoin:miter; font-size:12px; stroke-dashoffset:0; image-rendering:auto;\" width=\"548\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><!--Generated by Scilab with Batik SVG Generator--><defs id=\"genericDefs\"/><g><defs id=\"defs1\"><clipPath clipPathUnits=\"userSpaceOnUse\" id=\"clipPath1\"><path d=\"M68.4959 41.9975 L479.5041 41.9975 L479.5041 294.0025 L68.4959 294.0025 L68.4959 41.9975 Z\"/></clipPath><font horiz-adv-x=\"75.0\" id=\"font1\"><font-face ascent=\"100.53711\" descent=\"21.972656\" style=\"font-style:normal; font-family:sans-serif; font-weight:normal;\" units-per-em=\"100\"/><missing-glyph d=\"M12.5 0 L12.5 62.5 L62.5 62.5 L62.5 0 L12.5 0 ZM14.0625 1.5625 L60.9375 1.5625 L60.9375 60.9375 L14.0625 60.9375 L14.0625 1.5625 Z\" horiz-adv-x=\"75.0\"/><glyph d=\"M4.1562 35.2969 Q4.1562 48 6.7656 55.7422 Q9.375 63.4844 14.5234 67.6797 Q19.6719 71.875 27.4844 71.875 Q33.25 71.875 37.5938 69.5547 Q41.9375 67.2344 44.7734 62.8672 Q47.6094 58.5 49.2188 52.2266 Q50.8281 45.9531 50.8281 35.2969 Q50.8281 22.7031 48.2422 14.9688 Q45.6562 7.2344 40.5078 3.0078 Q35.3594 -1.2188 27.4844 -1.2188 Q17.1406 -1.2188 11.2344 6.2031 Q4.1562 15.1406 4.1562 35.2969 ZM13.1875 35.2969 Q13.1875 17.6719 17.3125 11.8359 Q21.4375 6 27.4844 6 Q33.5469 6 37.6719 11.8594 Q41.7969 17.7188 41.7969 35.2969 Q41.7969 52.9844 37.6719 58.7891 Q33.5469 64.5938 27.3906 64.5938 Q21.3438 64.5938 17.7188 59.4688 Q13.1875 52.9375 13.1875 35.2969 Z\" horiz-adv-x=\"56.0\" unicode=\"0\"/><glyph d=\"M37.25 0 L28.4688 0 L28.4688 56 Q25.2969 52.9844 20.1406 49.9531 Q14.9844 46.9219 10.8906 45.4062 L10.8906 53.9062 Q18.2656 57.375 23.7812 62.3047 Q29.2969 67.2344 31.5938 71.875 L37.25 71.875 L37.25 0 Z\" horiz-adv-x=\"56.0\" unicode=\"1\"/><glyph d=\"M50.3438 8.4531 L50.3438 0 L3.0312 0 Q2.9375 3.1719 4.0469 6.1094 Q5.8594 10.9375 9.8359 15.625 Q13.8125 20.3125 21.3438 26.4688 Q33.0156 36.0312 37.1172 41.625 Q41.2188 47.2188 41.2188 52.2031 Q41.2188 57.4219 37.4766 61.0078 Q33.7344 64.5938 27.7344 64.5938 Q21.3906 64.5938 17.5781 60.7891 Q13.7656 56.9844 13.7188 50.25 L4.6875 51.1719 Q5.6094 61.2812 11.6641 66.5781 Q17.7188 71.875 27.9375 71.875 Q38.2344 71.875 44.2422 66.1641 Q50.25 60.4531 50.25 52 Q50.25 47.7031 48.4922 43.5547 Q46.7344 39.4062 42.6562 34.8125 Q38.5781 30.2188 29.1094 22.2188 Q21.1875 15.5781 18.9453 13.2109 Q16.7031 10.8438 15.2344 8.4531 L50.3438 8.4531 Z\" horiz-adv-x=\"56.0\" unicode=\"2\"/><glyph d=\"M32.3281 0 L32.3281 17.1406 L1.2656 17.1406 L1.2656 25.2031 L33.9375 71.5781 L41.1094 71.5781 L41.1094 25.2031 L50.7812 25.2031 L50.7812 17.1406 L41.1094 17.1406 L41.1094 0 L32.3281 0 ZM32.3281 25.2031 L32.3281 57.4688 L9.9062 25.2031 L32.3281 25.2031 Z\" horiz-adv-x=\"56.0\" unicode=\"4\"/><glyph d=\"M49.75 54.0469 L41.0156 53.375 Q39.8438 58.5469 37.7031 60.8906 Q34.125 64.6562 28.9062 64.6562 Q24.7031 64.6562 21.5312 62.3125 Q17.3906 59.2812 14.9922 53.4688 Q12.5938 47.6562 12.5 36.9219 Q15.6719 41.75 20.2656 44.0938 Q24.8594 46.4375 29.8906 46.4375 Q38.6719 46.4375 44.8516 39.9688 Q51.0312 33.5 51.0312 23.25 Q51.0312 16.5 48.125 10.7188 Q45.2188 4.9375 40.1406 1.8594 Q35.0625 -1.2188 28.6094 -1.2188 Q17.625 -1.2188 10.6953 6.8594 Q3.7656 14.9375 3.7656 33.5 Q3.7656 54.25 11.4219 63.6719 Q18.1094 71.875 29.4375 71.875 Q37.8906 71.875 43.2891 67.1406 Q48.6875 62.4062 49.75 54.0469 ZM13.875 23.1875 Q13.875 18.6562 15.7969 14.5078 Q17.7188 10.3594 21.1875 8.1797 Q24.6562 6 28.4688 6 Q34.0312 6 38.0391 10.4922 Q42.0469 14.9844 42.0469 22.7031 Q42.0469 30.125 38.0859 34.3984 Q34.125 38.6719 28.125 38.6719 Q22.1719 38.6719 18.0234 34.3984 Q13.875 30.125 13.875 23.1875 Z\" horiz-adv-x=\"56.0\" unicode=\"6\"/><glyph d=\"M17.6719 38.8125 Q12.2031 40.8281 9.5703 44.5391 Q6.9375 48.25 6.9375 53.4219 Q6.9375 61.2344 12.5547 66.5547 Q18.1719 71.875 27.4844 71.875 Q36.8594 71.875 42.5781 66.4297 Q48.2969 60.9844 48.2969 53.1719 Q48.2969 48.1875 45.6797 44.5078 Q43.0625 40.8281 37.75 38.8125 Q44.3438 36.6719 47.7812 31.8828 Q51.2188 27.0938 51.2188 20.4531 Q51.2188 11.2812 44.7266 5.0312 Q38.2344 -1.2188 27.6406 -1.2188 Q17.0469 -1.2188 10.5469 5.0547 Q4.0469 11.3281 4.0469 20.7031 Q4.0469 27.6875 7.5938 32.3984 Q11.1406 37.1094 17.6719 38.8125 ZM15.9219 53.7188 Q15.9219 48.6406 19.1953 45.4141 Q22.4688 42.1875 27.6875 42.1875 Q32.7656 42.1875 36.0156 45.3828 Q39.2656 48.5781 39.2656 53.2188 Q39.2656 58.0625 35.9141 61.3594 Q32.5625 64.6562 27.5938 64.6562 Q22.5625 64.6562 19.2422 61.4297 Q15.9219 58.2031 15.9219 53.7188 ZM13.0938 20.6562 Q13.0938 16.8906 14.875 13.375 Q16.6562 9.8594 20.1719 7.9297 Q23.6875 6 27.7344 6 Q34.0312 6 38.1328 10.0547 Q42.2344 14.1094 42.2344 20.3594 Q42.2344 26.7031 38.0156 30.8594 Q33.7969 35.0156 27.4375 35.0156 Q21.2344 35.0156 17.1641 30.9141 Q13.0938 26.8125 13.0938 20.6562 Z\" horiz-adv-x=\"56.0\" unicode=\"8\"/><glyph d=\"M4.2031 18.8906 L12.9844 20.0625 Q14.5 12.5938 18.1406 9.2969 Q21.7812 6 27 6 Q33.2031 6 37.4766 10.2969 Q41.75 14.5938 41.75 20.9531 Q41.75 27 37.7969 30.9297 Q33.8438 34.8594 27.7344 34.8594 Q25.25 34.8594 21.5312 33.8906 L22.5156 41.6094 Q23.3906 41.5 23.9219 41.5 Q29.5469 41.5 34.0391 44.4297 Q38.5312 47.3594 38.5312 53.4688 Q38.5312 58.2969 35.2578 61.4766 Q31.9844 64.6562 26.8125 64.6562 Q21.6875 64.6562 18.2656 61.4297 Q14.8438 58.2031 13.875 51.7656 L5.0781 53.3281 Q6.6875 62.1562 12.3984 67.0156 Q18.1094 71.875 26.6094 71.875 Q32.4688 71.875 37.3984 69.3594 Q42.3281 66.8438 44.9453 62.5 Q47.5625 58.1562 47.5625 53.2656 Q47.5625 48.6406 45.0703 44.8281 Q42.5781 41.0156 37.7031 38.7656 Q44.0469 37.3125 47.5625 32.6953 Q51.0781 28.0781 51.0781 21.1406 Q51.0781 11.7656 44.2422 5.25 Q37.4062 -1.2656 26.9531 -1.2656 Q17.5312 -1.2656 11.3047 4.3516 Q5.0781 9.9688 4.2031 18.8906 Z\" horiz-adv-x=\"56.0\" unicode=\"3\"/><glyph d=\"M4.1562 18.75 L13.375 19.5312 Q14.4062 12.7969 18.1406 9.3984 Q21.875 6 27.1562 6 Q33.5 6 37.8906 10.7891 Q42.2812 15.5781 42.2812 23.4844 Q42.2812 31 38.0625 35.3516 Q33.8438 39.7031 27 39.7031 Q22.75 39.7031 19.3359 37.7734 Q15.9219 35.8438 13.9688 32.7656 L5.7188 33.8438 L12.6406 70.6094 L48.25 70.6094 L48.25 62.2031 L19.6719 62.2031 L15.8281 42.9688 Q22.2656 47.4688 29.3438 47.4688 Q38.7188 47.4688 45.1641 40.9688 Q51.6094 34.4688 51.6094 24.2656 Q51.6094 14.5469 45.9531 7.4688 Q39.0625 -1.2188 27.1562 -1.2188 Q17.3906 -1.2188 11.2109 4.25 Q5.0312 9.7188 4.1562 18.75 Z\" horiz-adv-x=\"56.0\" unicode=\"5\"/><glyph d=\"M4.7344 62.2031 L4.7344 70.6562 L51.0781 70.6562 L51.0781 63.8125 Q44.2344 56.5469 37.5234 44.4844 Q30.8125 32.4219 27.1562 19.6719 Q24.5156 10.6875 23.7812 0 L14.75 0 Q14.8906 8.4531 18.0625 20.4141 Q21.2344 32.375 27.1719 43.4844 Q33.1094 54.5938 39.7969 62.2031 L4.7344 62.2031 Z\" horiz-adv-x=\"56.0\" unicode=\"7\"/><glyph d=\"M5.4688 16.5469 L13.9219 17.3281 Q14.9844 11.375 18.0156 8.6875 Q21.0469 6 25.7812 6 Q29.8281 6 32.8828 7.8594 Q35.9375 9.7188 37.8906 12.8203 Q39.8438 15.9219 41.1641 21.1953 Q42.4844 26.4688 42.4844 31.9375 Q42.4844 32.5156 42.4375 33.6875 Q39.7969 29.5 35.2344 26.8828 Q30.6719 24.2656 25.3438 24.2656 Q16.4531 24.2656 10.3047 30.7109 Q4.1562 37.1562 4.1562 47.7031 Q4.1562 58.5938 10.5781 65.2344 Q17 71.875 26.6562 71.875 Q33.6406 71.875 39.4297 68.1172 Q45.2188 64.3594 48.2188 57.3984 Q51.2188 50.4375 51.2188 37.25 Q51.2188 23.5312 48.2422 15.4062 Q45.2656 7.2812 39.3828 3.0312 Q33.5 -1.2188 25.5938 -1.2188 Q17.1875 -1.2188 11.8672 3.4453 Q6.5469 8.1094 5.4688 16.5469 ZM41.4531 48.1406 Q41.4531 55.7188 37.4297 60.1562 Q33.4062 64.5938 27.7344 64.5938 Q21.875 64.5938 17.5312 59.8125 Q13.1875 55.0312 13.1875 47.4062 Q13.1875 40.5781 17.3125 36.3047 Q21.4375 32.0312 27.4844 32.0312 Q33.5938 32.0312 37.5234 36.3047 Q41.4531 40.5781 41.4531 48.1406 Z\" horiz-adv-x=\"56.0\" unicode=\"9\"/><glyph d=\"M3.1719 21.4844 L3.1719 30.3281 L30.1719 30.3281 L30.1719 21.4844 L3.1719 21.4844 Z\" horiz-adv-x=\"33.0\" unicode=\"-\"/><glyph d=\"M9.0781 0 L9.0781 10.0156 L19.0938 10.0156 L19.0938 0 L9.0781 0 Z\" horiz-adv-x=\"28.0\" unicode=\".\"/></font></defs><g style=\"fill:white; text-rendering:optimizeLegibility; stroke:white;\"><rect height=\"336\" style=\"stroke:none;\" width=\"548\" x=\"0\" y=\"0\"/></g><g style=\"stroke-linecap:butt; fill:white; text-rendering:geometricPrecision; stroke-linejoin:bevel; shape-rendering:crispEdges; stroke:white; stroke-width:0;\"><path d=\"M479.5 42 L479.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 294 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 294 L68.5 294 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 42 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 42 L68.5 294 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L68.5 42 L479.5 42 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 42 L479.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 294 L68.5 294 L479.5 294 Z\" style=\"stroke:none;\"/></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(65,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">0</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(470.5,303)\"><text style=\"stroke:none;\" x=\"-1.0938\" xml:space=\"preserve\" y=\"10.0537\">100</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(144.2,303)\"><text style=\"stroke:none;\" x=\"-0.2969\" xml:space=\"preserve\" y=\"10.0537\">20</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(226.4,303)\"><text style=\"stroke:none;\" x=\"-0.125\" xml:space=\"preserve\" y=\"10.0537\">40</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(308.6,303)\"><text style=\"stroke:none;\" x=\"-0.375\" xml:space=\"preserve\" y=\"10.0537\">60</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(390.8,303)\"><text style=\"stroke:none;\" x=\"-0.4062\" xml:space=\"preserve\" y=\"10.0537\">80</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(103.6,303)\"><text style=\"stroke:none;\" x=\"-1.0938\" xml:space=\"preserve\" y=\"10.0537\">10</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(185.3,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">30</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(267.5,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">50</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(349.7,303)\"><text style=\"stroke:none;\" x=\"-0.4688\" xml:space=\"preserve\" y=\"10.0537\">70</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(431.9,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">90</text></g><g style=\"text-rendering:geometricPrecision; font-size:10px; shape-rendering:crispEdges; font-family:sans-serif; stroke-linecap:butt;\"><path d=\"M68.5 294 L68.5 300\" style=\"fill:none;\"/><path d=\"M109.6 294 L109.6 300\" style=\"fill:none;\"/><path d=\"M150.7 294 L150.7 300\" style=\"fill:none;\"/><path d=\"M191.8 294 L191.8 300\" style=\"fill:none;\"/><path d=\"M232.9 294 L232.9 300\" style=\"fill:none;\"/><path d=\"M274 294 L274 300\" style=\"fill:none;\"/><path d=\"M315.1 294 L315.1 300\" style=\"fill:none;\"/><path d=\"M356.2 294 L356.2 300\" style=\"fill:none;\"/><path d=\"M397.3 294 L397.3 300\" style=\"fill:none;\"/><path d=\"M438.4 294 L438.4 300\" style=\"fill:none;\"/><path d=\"M479.5 294 L479.5 300\" style=\"fill:none;\"/><path d=\"M68.5 294 L68.5 297\" style=\"fill:none;\"/><path d=\"M89.05 294 L89.05 297\" style=\"fill:none;\"/><path d=\"M109.6 294 L109.6 297\" style=\"fill:none;\"/><path d=\"M130.15 294 L130.15 297\" style=\"fill:none;\"/><path d=\"M150.7 294 L150.7 297\" style=\"fill:none;\"/><path d=\"M171.25 294 L171.25 297\" style=\"fill:none;\"/><path d=\"M191.8 294 L191.8 297\" style=\"fill:none;\"/><path d=\"M212.35 294 L212.35 297\" style=\"fill:none;\"/><path d=\"M232.9 294 L232.9 297\" style=\"fill:none;\"/><path d=\"M253.45 294 L253.45 297\" style=\"fill:none;\"/><path d=\"M274 294 L274 297\" style=\"fill:none;\"/><path d=\"M294.55 294 L294.55 297\" style=\"fill:none;\"/><path d=\"M315.1 294 L315.1 297\" style=\"fill:none;\"/><path d=\"M335.65 294 L335.65 297\" style=\"fill:none;\"/><path d=\"M356.2 294 L356.2 297\" style=\"fill:none;\"/><path d=\"M376.75 294 L376.75 297\" style=\"fill:none;\"/><path d=\"M397.3 294 L397.3 297\" style=\"fill:none;\"/><path d=\"M417.85 294 L417.85 297\" style=\"fill:none;\"/><path d=\"M438.4 294 L438.4 297\" style=\"fill:none;\"/><path d=\"M458.95 294 L458.95 297\" style=\"fill:none;\"/><path d=\"M479.5 294 L479.5 297\" style=\"fill:none;\"/><path d=\"M479.5 294 L68.5 294\" style=\"fill:none;\"/><text style=\"stroke-linejoin:bevel; shape-rendering:auto; stroke:none; stroke-width:0;\" transform=\"translate(52.5,161)\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">0</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(50.5,287)\"><text style=\"stroke:none;\" x=\"-0.3125\" xml:space=\"preserve\" y=\"10.0537\">-1</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(54.5,35)\"><text style=\"stroke:none;\" x=\"-1.0938\" xml:space=\"preserve\" y=\"10.0537\">1</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(40.5,224)\"><text style=\"stroke:none;\" x=\"-0.3125\" xml:space=\"preserve\" y=\"10.0537\">-0.5</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(43.5,98)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">0.5</text></g><g style=\"text-rendering:geometricPrecision; font-size:10px; shape-rendering:crispEdges; font-family:sans-serif; stroke-linecap:butt;\"><path d=\"M68.5 294 L62.5 294\" style=\"fill:none;\"/><path d=\"M68.5 231 L62.5 231\" style=\"fill:none;\"/><path d=\"M68.5 168 L62.5 168\" style=\"fill:none;\"/><path d=\"M68.5 105 L62.5 105\" style=\"fill:none;\"/><path d=\"M68.5 42 L62.5 42\" style=\"fill:none;\"/><path d=\"M68.5 294 L65.5 294\" style=\"fill:none;\"/><path d=\"M68.5 281.4 L65.5 281.4\" style=\"fill:none;\"/><path d=\"M68.5 268.8 L65.5 268.8\" style=\"fill:none;\"/><path d=\"M68.5 256.2 L65.5 256.2\" style=\"fill:none;\"/><path d=\"M68.5 243.6 L65.5 243.6\" style=\"fill:none;\"/><path d=\"M68.5 231 L65.5 231\" style=\"fill:none;\"/><path d=\"M68.5 218.4 L65.5 218.4\" style=\"fill:none;\"/><path d=\"M68.5 205.8 L65.5 205.8\" style=\"fill:none;\"/><path d=\"M68.5 193.2 L65.5 193.2\" style=\"fill:none;\"/><path d=\"M68.5 180.6 L65.5 180.6\" style=\"fill:none;\"/><path d=\"M68.5 168 L65.5 168\" style=\"fill:none;\"/><path d=\"M68.5 155.4 L65.5 155.4\" style=\"fill:none;\"/><path d=\"M68.5 142.8 L65.5 142.8\" style=\"fill:none;\"/><path d=\"M68.5 130.2 L65.5 130.2\" style=\"fill:none;\"/><path d=\"M68.5 117.6 L65.5 117.6\" style=\"fill:none;\"/><path d=\"M68.5 105 L65.5 105\" style=\"fill:none;\"/><path d=\"M68.5 92.4 L65.5 92.4\" style=\"fill:none;\"/><path d=\"M68.5 79.8 L65.5 79.8\" style=\"fill:none;\"/><path d=\"M68.5 67.2 L65.5 67.2\" style=\"fill:none;\"/><path d=\"M68.5 54.6 L65.5 54.6\" style=\"fill:none;\"/><path d=\"M68.5 42 L65.5 42\" style=\"fill:none;\"/><path d=\"M68.5 42 L68.5 294\" style=\"fill:none;\"/><path d=\"M72.61 168 L76.72 144.1543 L80.83 121.1705 L84.94 99.8793 L89.05 81.05 L93.16 65.3634 L97.27 53.3864 L101.38 45.5517 L105.49 42.1427 L109.6 43.2825 L113.71 48.9299 L117.82 58.8808 L121.93 72.7756 L126.04 90.112 L130.15 110.2635 L134.26 132.5017 L138.37 156.0229 L142.48 179.9771 L146.59 203.4983 L150.7 225.7365 L154.81 245.888 L158.92 263.2245 L163.03 277.1192 L167.14 287.0701 L171.25 292.7175 L175.36 293.8573 L179.47 290.4483 L183.58 282.6136 L187.69 270.6366 L191.8 254.95 L195.91 236.1207 L200.02 214.8295 L204.13 191.8457 L208.24 168 L212.35 144.1543 L216.46 121.1705 L220.57 99.8793 L224.68 81.05 L228.79 65.3634 L232.9 53.3864 L237.01 45.5517 L241.12 42.1427 L245.23 43.2825 L249.34 48.9299 L253.45 58.8808 L257.56 72.7756 L261.67 90.112 L265.78 110.2635 L269.89 132.5017 L274 156.0229 L278.11 179.9771 L282.22 203.4983 L286.33 225.7365 L290.44 245.888 L294.55 263.2245 L298.66 277.1192 L302.77 287.0701 L306.88 292.7175 L310.99 293.8573 L315.1 290.4483 L319.21 282.6136 L323.32 270.6366 L327.43 254.95 L331.54 236.1207 L335.65 214.8295 L339.76 191.8457 L343.87 168 L347.98 144.1543 L352.09 121.1705 L356.2 99.8793 L360.31 81.05 L364.42 65.3634 L368.53 53.3864 L372.64 45.5517 L376.75 42.1427 L380.86 43.2825 L384.97 48.9299 L389.08 58.8808 L393.19 72.7756 L397.3 90.112 L401.41 110.2635 L405.52 132.5017 L409.63 156.0229 L413.74 179.9771 L417.85 203.4983 L421.96 225.7365 L426.07 245.888 L430.18 263.2245 L434.29 277.1192 L438.4 287.0701 L442.51 292.7175 L446.62 293.8573 L450.73 290.4483 L454.84 282.6136 L458.95 270.6366 L463.06 254.95 L467.17 236.1207 L471.28 214.8295 L475.39 191.8457 L479.5 168\" style=\"fill:none; clip-path:url(#clipPath1); stroke:blue;\"/><path d=\"M72.61 42 L76.72 44.277 L80.83 51.0256 L84.94 62.0021 L89.05 76.8095 L93.16 94.9128 L97.27 115.6577 L101.38 138.2944 L105.49 162.0047 L109.6 185.9317 L113.71 209.2106 L117.82 231 L121.93 250.5125 L126.04 267.0427 L130.15 279.9933 L134.26 288.8961 L138.37 293.4295 L142.48 293.4295 L146.59 288.8961 L150.7 279.9933 L154.81 267.0427 L158.92 250.5125 L163.03 231 L167.14 209.2106 L171.25 185.9317 L175.36 162.0047 L179.47 138.2944 L183.58 115.6577 L187.69 94.9128 L191.8 76.8095 L195.91 62.0021 L200.02 51.0256 L204.13 44.277 L208.24 42 L212.35 44.277 L216.46 51.0256 L220.57 62.0021 L224.68 76.8095 L228.79 94.9128 L232.9 115.6577 L237.01 138.2944 L241.12 162.0047 L245.23 185.9317 L249.34 209.2106 L253.45 231 L257.56 250.5125 L261.67 267.0427 L265.78 279.9933 L269.89 288.8961 L274 293.4295 L278.11 293.4295 L282.22 288.8961 L286.33 279.9933 L290.44 267.0427 L294.55 250.5125 L298.66 231 L302.77 209.2106 L306.88 185.9317 L310.99 162.0047 L315.1 138.2944 L319.21 115.6577 L323.32 94.9128 L327.43 76.8095 L331.54 62.0021 L335.65 51.0256 L339.76 44.277 L343.87 42 L347.98 44.277 L352.09 51.0256 L356.2 62.0021 L360.31 76.8095 L364.42 94.9128 L368.53 115.6577 L372.64 138.2944 L376.75 162.0047 L380.86 185.9317 L384.97 209.2106 L389.08 231 L393.19 250.5125 L397.3 267.0427 L401.41 279.9933 L405.52 288.8961 L409.63 293.4295 L413.74 293.4295 L417.85 288.8961 L421.96 279.9933 L426.07 267.0427 L430.18 250.5125 L434.29 231 L438.4 209.2106 L442.51 185.9317 L446.62 162.0047 L450.73 138.2944 L454.84 115.6577 L458.95 94.9128 L463.06 76.8095 L467.17 62.0021 L471.28 51.0256 L475.39 44.277 L479.5 42\" style=\"fill:none; clip-path:url(#clipPath1); stroke:red;\"/><path d=\"M68.5 294 L68.5 42 L68.5 42 L479.5 42 L479.5 294 L479.5 294 L68.5 294\" style=\"fill:none;\"/><path d=\"M479.5 42 L68.5 42\" style=\"fill:none;\"/><path d=\"M479.5 42 L479.5 294\" style=\"fill:none;\"/><path d=\"M479.5 42 L479.5 42\" style=\"fill:none;\"/></g></g></svg>"
      ],
      "text/plain": [
       "<IPython.core.display.SVG object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "t = linspace(0,6*%pi,100);\n",
    "plot(sin(t))\n",
    "plot(cos(t), 'r')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<svg height=\"336\" style=\"fill-opacity:1; color-rendering:auto; color-interpolation:auto; text-rendering:auto; stroke:black; stroke-linecap:square; stroke-miterlimit:10; shape-rendering:auto; stroke-opacity:1; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:'Dialog'; font-style:normal; stroke-linejoin:miter; font-size:12px; stroke-dashoffset:0; image-rendering:auto;\" width=\"548\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><!--Generated by Scilab with Batik SVG Generator--><defs id=\"genericDefs\"/><g><defs id=\"defs1\"><clipPath clipPathUnits=\"userSpaceOnUse\" id=\"clipPath1\"><path d=\"M68.4959 41.9975 L479.5041 41.9975 L479.5041 294.0025 L68.4959 294.0025 L68.4959 41.9975 Z\"/></clipPath><font horiz-adv-x=\"75.0\" id=\"font1\"><font-face ascent=\"100.53711\" descent=\"21.972656\" style=\"font-style:normal; font-family:sans-serif; font-weight:normal;\" units-per-em=\"100\"/><missing-glyph d=\"M12.5 0 L12.5 62.5 L62.5 62.5 L62.5 0 L12.5 0 ZM14.0625 1.5625 L60.9375 1.5625 L60.9375 60.9375 L14.0625 60.9375 L14.0625 1.5625 Z\" horiz-adv-x=\"75.0\"/><glyph d=\"M4.1562 35.2969 Q4.1562 48 6.7656 55.7422 Q9.375 63.4844 14.5234 67.6797 Q19.6719 71.875 27.4844 71.875 Q33.25 71.875 37.5938 69.5547 Q41.9375 67.2344 44.7734 62.8672 Q47.6094 58.5 49.2188 52.2266 Q50.8281 45.9531 50.8281 35.2969 Q50.8281 22.7031 48.2422 14.9688 Q45.6562 7.2344 40.5078 3.0078 Q35.3594 -1.2188 27.4844 -1.2188 Q17.1406 -1.2188 11.2344 6.2031 Q4.1562 15.1406 4.1562 35.2969 ZM13.1875 35.2969 Q13.1875 17.6719 17.3125 11.8359 Q21.4375 6 27.4844 6 Q33.5469 6 37.6719 11.8594 Q41.7969 17.7188 41.7969 35.2969 Q41.7969 52.9844 37.6719 58.7891 Q33.5469 64.5938 27.3906 64.5938 Q21.3438 64.5938 17.7188 59.4688 Q13.1875 52.9375 13.1875 35.2969 Z\" horiz-adv-x=\"56.0\" unicode=\"0\"/><glyph d=\"M37.25 0 L28.4688 0 L28.4688 56 Q25.2969 52.9844 20.1406 49.9531 Q14.9844 46.9219 10.8906 45.4062 L10.8906 53.9062 Q18.2656 57.375 23.7812 62.3047 Q29.2969 67.2344 31.5938 71.875 L37.25 71.875 L37.25 0 Z\" horiz-adv-x=\"56.0\" unicode=\"1\"/><glyph d=\"M50.3438 8.4531 L50.3438 0 L3.0312 0 Q2.9375 3.1719 4.0469 6.1094 Q5.8594 10.9375 9.8359 15.625 Q13.8125 20.3125 21.3438 26.4688 Q33.0156 36.0312 37.1172 41.625 Q41.2188 47.2188 41.2188 52.2031 Q41.2188 57.4219 37.4766 61.0078 Q33.7344 64.5938 27.7344 64.5938 Q21.3906 64.5938 17.5781 60.7891 Q13.7656 56.9844 13.7188 50.25 L4.6875 51.1719 Q5.6094 61.2812 11.6641 66.5781 Q17.7188 71.875 27.9375 71.875 Q38.2344 71.875 44.2422 66.1641 Q50.25 60.4531 50.25 52 Q50.25 47.7031 48.4922 43.5547 Q46.7344 39.4062 42.6562 34.8125 Q38.5781 30.2188 29.1094 22.2188 Q21.1875 15.5781 18.9453 13.2109 Q16.7031 10.8438 15.2344 8.4531 L50.3438 8.4531 Z\" horiz-adv-x=\"56.0\" unicode=\"2\"/><glyph d=\"M32.3281 0 L32.3281 17.1406 L1.2656 17.1406 L1.2656 25.2031 L33.9375 71.5781 L41.1094 71.5781 L41.1094 25.2031 L50.7812 25.2031 L50.7812 17.1406 L41.1094 17.1406 L41.1094 0 L32.3281 0 ZM32.3281 25.2031 L32.3281 57.4688 L9.9062 25.2031 L32.3281 25.2031 Z\" horiz-adv-x=\"56.0\" unicode=\"4\"/><glyph d=\"M49.75 54.0469 L41.0156 53.375 Q39.8438 58.5469 37.7031 60.8906 Q34.125 64.6562 28.9062 64.6562 Q24.7031 64.6562 21.5312 62.3125 Q17.3906 59.2812 14.9922 53.4688 Q12.5938 47.6562 12.5 36.9219 Q15.6719 41.75 20.2656 44.0938 Q24.8594 46.4375 29.8906 46.4375 Q38.6719 46.4375 44.8516 39.9688 Q51.0312 33.5 51.0312 23.25 Q51.0312 16.5 48.125 10.7188 Q45.2188 4.9375 40.1406 1.8594 Q35.0625 -1.2188 28.6094 -1.2188 Q17.625 -1.2188 10.6953 6.8594 Q3.7656 14.9375 3.7656 33.5 Q3.7656 54.25 11.4219 63.6719 Q18.1094 71.875 29.4375 71.875 Q37.8906 71.875 43.2891 67.1406 Q48.6875 62.4062 49.75 54.0469 ZM13.875 23.1875 Q13.875 18.6562 15.7969 14.5078 Q17.7188 10.3594 21.1875 8.1797 Q24.6562 6 28.4688 6 Q34.0312 6 38.0391 10.4922 Q42.0469 14.9844 42.0469 22.7031 Q42.0469 30.125 38.0859 34.3984 Q34.125 38.6719 28.125 38.6719 Q22.1719 38.6719 18.0234 34.3984 Q13.875 30.125 13.875 23.1875 Z\" horiz-adv-x=\"56.0\" unicode=\"6\"/><glyph d=\"M17.6719 38.8125 Q12.2031 40.8281 9.5703 44.5391 Q6.9375 48.25 6.9375 53.4219 Q6.9375 61.2344 12.5547 66.5547 Q18.1719 71.875 27.4844 71.875 Q36.8594 71.875 42.5781 66.4297 Q48.2969 60.9844 48.2969 53.1719 Q48.2969 48.1875 45.6797 44.5078 Q43.0625 40.8281 37.75 38.8125 Q44.3438 36.6719 47.7812 31.8828 Q51.2188 27.0938 51.2188 20.4531 Q51.2188 11.2812 44.7266 5.0312 Q38.2344 -1.2188 27.6406 -1.2188 Q17.0469 -1.2188 10.5469 5.0547 Q4.0469 11.3281 4.0469 20.7031 Q4.0469 27.6875 7.5938 32.3984 Q11.1406 37.1094 17.6719 38.8125 ZM15.9219 53.7188 Q15.9219 48.6406 19.1953 45.4141 Q22.4688 42.1875 27.6875 42.1875 Q32.7656 42.1875 36.0156 45.3828 Q39.2656 48.5781 39.2656 53.2188 Q39.2656 58.0625 35.9141 61.3594 Q32.5625 64.6562 27.5938 64.6562 Q22.5625 64.6562 19.2422 61.4297 Q15.9219 58.2031 15.9219 53.7188 ZM13.0938 20.6562 Q13.0938 16.8906 14.875 13.375 Q16.6562 9.8594 20.1719 7.9297 Q23.6875 6 27.7344 6 Q34.0312 6 38.1328 10.0547 Q42.2344 14.1094 42.2344 20.3594 Q42.2344 26.7031 38.0156 30.8594 Q33.7969 35.0156 27.4375 35.0156 Q21.2344 35.0156 17.1641 30.9141 Q13.0938 26.8125 13.0938 20.6562 Z\" horiz-adv-x=\"56.0\" unicode=\"8\"/><glyph d=\"M4.2031 18.8906 L12.9844 20.0625 Q14.5 12.5938 18.1406 9.2969 Q21.7812 6 27 6 Q33.2031 6 37.4766 10.2969 Q41.75 14.5938 41.75 20.9531 Q41.75 27 37.7969 30.9297 Q33.8438 34.8594 27.7344 34.8594 Q25.25 34.8594 21.5312 33.8906 L22.5156 41.6094 Q23.3906 41.5 23.9219 41.5 Q29.5469 41.5 34.0391 44.4297 Q38.5312 47.3594 38.5312 53.4688 Q38.5312 58.2969 35.2578 61.4766 Q31.9844 64.6562 26.8125 64.6562 Q21.6875 64.6562 18.2656 61.4297 Q14.8438 58.2031 13.875 51.7656 L5.0781 53.3281 Q6.6875 62.1562 12.3984 67.0156 Q18.1094 71.875 26.6094 71.875 Q32.4688 71.875 37.3984 69.3594 Q42.3281 66.8438 44.9453 62.5 Q47.5625 58.1562 47.5625 53.2656 Q47.5625 48.6406 45.0703 44.8281 Q42.5781 41.0156 37.7031 38.7656 Q44.0469 37.3125 47.5625 32.6953 Q51.0781 28.0781 51.0781 21.1406 Q51.0781 11.7656 44.2422 5.25 Q37.4062 -1.2656 26.9531 -1.2656 Q17.5312 -1.2656 11.3047 4.3516 Q5.0781 9.9688 4.2031 18.8906 Z\" horiz-adv-x=\"56.0\" unicode=\"3\"/><glyph d=\"M4.1562 18.75 L13.375 19.5312 Q14.4062 12.7969 18.1406 9.3984 Q21.875 6 27.1562 6 Q33.5 6 37.8906 10.7891 Q42.2812 15.5781 42.2812 23.4844 Q42.2812 31 38.0625 35.3516 Q33.8438 39.7031 27 39.7031 Q22.75 39.7031 19.3359 37.7734 Q15.9219 35.8438 13.9688 32.7656 L5.7188 33.8438 L12.6406 70.6094 L48.25 70.6094 L48.25 62.2031 L19.6719 62.2031 L15.8281 42.9688 Q22.2656 47.4688 29.3438 47.4688 Q38.7188 47.4688 45.1641 40.9688 Q51.6094 34.4688 51.6094 24.2656 Q51.6094 14.5469 45.9531 7.4688 Q39.0625 -1.2188 27.1562 -1.2188 Q17.3906 -1.2188 11.2109 4.25 Q5.0312 9.7188 4.1562 18.75 Z\" horiz-adv-x=\"56.0\" unicode=\"5\"/><glyph d=\"M4.7344 62.2031 L4.7344 70.6562 L51.0781 70.6562 L51.0781 63.8125 Q44.2344 56.5469 37.5234 44.4844 Q30.8125 32.4219 27.1562 19.6719 Q24.5156 10.6875 23.7812 0 L14.75 0 Q14.8906 8.4531 18.0625 20.4141 Q21.2344 32.375 27.1719 43.4844 Q33.1094 54.5938 39.7969 62.2031 L4.7344 62.2031 Z\" horiz-adv-x=\"56.0\" unicode=\"7\"/><glyph d=\"M5.4688 16.5469 L13.9219 17.3281 Q14.9844 11.375 18.0156 8.6875 Q21.0469 6 25.7812 6 Q29.8281 6 32.8828 7.8594 Q35.9375 9.7188 37.8906 12.8203 Q39.8438 15.9219 41.1641 21.1953 Q42.4844 26.4688 42.4844 31.9375 Q42.4844 32.5156 42.4375 33.6875 Q39.7969 29.5 35.2344 26.8828 Q30.6719 24.2656 25.3438 24.2656 Q16.4531 24.2656 10.3047 30.7109 Q4.1562 37.1562 4.1562 47.7031 Q4.1562 58.5938 10.5781 65.2344 Q17 71.875 26.6562 71.875 Q33.6406 71.875 39.4297 68.1172 Q45.2188 64.3594 48.2188 57.3984 Q51.2188 50.4375 51.2188 37.25 Q51.2188 23.5312 48.2422 15.4062 Q45.2656 7.2812 39.3828 3.0312 Q33.5 -1.2188 25.5938 -1.2188 Q17.1875 -1.2188 11.8672 3.4453 Q6.5469 8.1094 5.4688 16.5469 ZM41.4531 48.1406 Q41.4531 55.7188 37.4297 60.1562 Q33.4062 64.5938 27.7344 64.5938 Q21.875 64.5938 17.5312 59.8125 Q13.1875 55.0312 13.1875 47.4062 Q13.1875 40.5781 17.3125 36.3047 Q21.4375 32.0312 27.4844 32.0312 Q33.5938 32.0312 37.5234 36.3047 Q41.4531 40.5781 41.4531 48.1406 Z\" horiz-adv-x=\"56.0\" unicode=\"9\"/></font></defs><g style=\"fill:white; text-rendering:optimizeLegibility; stroke:white;\"><rect height=\"336\" style=\"stroke:none;\" width=\"548\" x=\"0\" y=\"0\"/></g><g style=\"stroke-linecap:butt; fill:white; text-rendering:geometricPrecision; stroke-linejoin:bevel; shape-rendering:crispEdges; stroke:white; stroke-width:0;\"><path d=\"M479.5 42 L479.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 294 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 294 L68.5 294 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L68.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L479.5 42 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 42 L68.5 294 Z\" style=\"stroke:none;\"/><path d=\"M479.5 42 L68.5 42 L479.5 42 Z\" style=\"stroke:none;\"/><path d=\"M68.5 42 L68.5 42 L479.5 42 Z\" style=\"stroke:none;\"/><path d=\"M479.5 294 L68.5 294 L479.5 294 Z\" style=\"stroke:none;\"/><path d=\"M68.5 294 L68.5 294 L479.5 294 Z\" style=\"stroke:none;\"/></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(65,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">0</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(470.5,303)\"><text style=\"stroke:none;\" x=\"-1.0938\" xml:space=\"preserve\" y=\"10.0537\">100</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(144.2,303)\"><text style=\"stroke:none;\" x=\"-0.2969\" xml:space=\"preserve\" y=\"10.0537\">20</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(226.4,303)\"><text style=\"stroke:none;\" x=\"-0.125\" xml:space=\"preserve\" y=\"10.0537\">40</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(308.6,303)\"><text style=\"stroke:none;\" x=\"-0.375\" xml:space=\"preserve\" y=\"10.0537\">60</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(390.8,303)\"><text style=\"stroke:none;\" x=\"-0.4062\" xml:space=\"preserve\" y=\"10.0537\">80</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(103.6,303)\"><text style=\"stroke:none;\" x=\"-1.0938\" xml:space=\"preserve\" y=\"10.0537\">10</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(185.3,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">30</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(267.5,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">50</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(349.7,303)\"><text style=\"stroke:none;\" x=\"-0.4688\" xml:space=\"preserve\" y=\"10.0537\">70</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(431.9,303)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">90</text></g><g style=\"text-rendering:geometricPrecision; font-size:10px; shape-rendering:crispEdges; font-family:sans-serif; stroke-linecap:butt;\"><path d=\"M68.5 294 L68.5 300\" style=\"fill:none;\"/><path d=\"M109.6 294 L109.6 300\" style=\"fill:none;\"/><path d=\"M150.7 294 L150.7 300\" style=\"fill:none;\"/><path d=\"M191.8 294 L191.8 300\" style=\"fill:none;\"/><path d=\"M232.9 294 L232.9 300\" style=\"fill:none;\"/><path d=\"M274 294 L274 300\" style=\"fill:none;\"/><path d=\"M315.1 294 L315.1 300\" style=\"fill:none;\"/><path d=\"M356.2 294 L356.2 300\" style=\"fill:none;\"/><path d=\"M397.3 294 L397.3 300\" style=\"fill:none;\"/><path d=\"M438.4 294 L438.4 300\" style=\"fill:none;\"/><path d=\"M479.5 294 L479.5 300\" style=\"fill:none;\"/><path d=\"M68.5 294 L68.5 297\" style=\"fill:none;\"/><path d=\"M89.05 294 L89.05 297\" style=\"fill:none;\"/><path d=\"M109.6 294 L109.6 297\" style=\"fill:none;\"/><path d=\"M130.15 294 L130.15 297\" style=\"fill:none;\"/><path d=\"M150.7 294 L150.7 297\" style=\"fill:none;\"/><path d=\"M171.25 294 L171.25 297\" style=\"fill:none;\"/><path d=\"M191.8 294 L191.8 297\" style=\"fill:none;\"/><path d=\"M212.35 294 L212.35 297\" style=\"fill:none;\"/><path d=\"M232.9 294 L232.9 297\" style=\"fill:none;\"/><path d=\"M253.45 294 L253.45 297\" style=\"fill:none;\"/><path d=\"M274 294 L274 297\" style=\"fill:none;\"/><path d=\"M294.55 294 L294.55 297\" style=\"fill:none;\"/><path d=\"M315.1 294 L315.1 297\" style=\"fill:none;\"/><path d=\"M335.65 294 L335.65 297\" style=\"fill:none;\"/><path d=\"M356.2 294 L356.2 297\" style=\"fill:none;\"/><path d=\"M376.75 294 L376.75 297\" style=\"fill:none;\"/><path d=\"M397.3 294 L397.3 297\" style=\"fill:none;\"/><path d=\"M417.85 294 L417.85 297\" style=\"fill:none;\"/><path d=\"M438.4 294 L438.4 297\" style=\"fill:none;\"/><path d=\"M458.95 294 L458.95 297\" style=\"fill:none;\"/><path d=\"M479.5 294 L479.5 297\" style=\"fill:none;\"/><path d=\"M479.5 294 L68.5 294\" style=\"fill:none;\"/><text style=\"stroke-linejoin:bevel; shape-rendering:auto; stroke:none; stroke-width:0;\" transform=\"translate(46.5,287)\" x=\"-0.2969\" xml:space=\"preserve\" y=\"10.0537\">20</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(46.5,35)\"><text style=\"stroke:none;\" x=\"-0.125\" xml:space=\"preserve\" y=\"10.0537\">40</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(46.5,161)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">30</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(46.5,224)\"><text style=\"stroke:none;\" x=\"-0.2969\" xml:space=\"preserve\" y=\"10.0537\">25</text></g><g style=\"font-size:10px; stroke-linecap:butt; text-rendering:geometricPrecision; font-family:sans-serif; stroke-linejoin:bevel; stroke-width:0;\" transform=\"translate(46.5,98)\"><text style=\"stroke:none;\" x=\"-0.4219\" xml:space=\"preserve\" y=\"10.0537\">35</text></g><g style=\"text-rendering:geometricPrecision; font-size:10px; shape-rendering:crispEdges; font-family:sans-serif; stroke-linecap:butt;\"><path d=\"M68.5 294 L62.5 294\" style=\"fill:none;\"/><path d=\"M68.5 231 L62.5 231\" style=\"fill:none;\"/><path d=\"M68.5 168 L62.5 168\" style=\"fill:none;\"/><path d=\"M68.5 105 L62.5 105\" style=\"fill:none;\"/><path d=\"M68.5 42 L62.5 42\" style=\"fill:none;\"/><path d=\"M68.5 294 L65.5 294\" style=\"fill:none;\"/><path d=\"M68.5 281.4 L65.5 281.4\" style=\"fill:none;\"/><path d=\"M68.5 268.8 L65.5 268.8\" style=\"fill:none;\"/><path d=\"M68.5 256.2 L65.5 256.2\" style=\"fill:none;\"/><path d=\"M68.5 243.6 L65.5 243.6\" style=\"fill:none;\"/><path d=\"M68.5 231 L65.5 231\" style=\"fill:none;\"/><path d=\"M68.5 218.4 L65.5 218.4\" style=\"fill:none;\"/><path d=\"M68.5 205.8 L65.5 205.8\" style=\"fill:none;\"/><path d=\"M68.5 193.2 L65.5 193.2\" style=\"fill:none;\"/><path d=\"M68.5 180.6 L65.5 180.6\" style=\"fill:none;\"/><path d=\"M68.5 168 L65.5 168\" style=\"fill:none;\"/><path d=\"M68.5 155.4 L65.5 155.4\" style=\"fill:none;\"/><path d=\"M68.5 142.8 L65.5 142.8\" style=\"fill:none;\"/><path d=\"M68.5 130.2 L65.5 130.2\" style=\"fill:none;\"/><path d=\"M68.5 117.6 L65.5 117.6\" style=\"fill:none;\"/><path d=\"M68.5 105 L65.5 105\" style=\"fill:none;\"/><path d=\"M68.5 92.4 L65.5 92.4\" style=\"fill:none;\"/><path d=\"M68.5 79.8 L65.5 79.8\" style=\"fill:none;\"/><path d=\"M68.5 67.2 L65.5 67.2\" style=\"fill:none;\"/><path d=\"M68.5 54.6 L65.5 54.6\" style=\"fill:none;\"/><path d=\"M68.5 42 L65.5 42\" style=\"fill:none;\"/><path d=\"M68.5 42 L68.5 294\" style=\"fill:none;\"/><path d=\"M72.61 42 L76.72 44.277 L80.83 51.0256 L84.94 62.0021 L89.05 76.8095 L93.16 94.9128 L97.27 115.6577 L101.38 138.2944 L105.49 162.0047 L109.6 185.9317 L113.71 209.2106 L117.82 231 L121.93 250.5125 L126.04 267.0427 L130.15 279.9933 L134.26 288.8961 L138.37 293.4295 L142.48 293.4295 L146.59 288.8961 L150.7 279.9933 L154.81 267.0427 L158.92 250.5125 L163.03 231 L167.14 209.2106 L171.25 185.9317 L175.36 162.0047 L179.47 138.2944 L183.58 115.6577 L187.69 94.9128 L191.8 76.8095 L195.91 62.0021 L200.02 51.0256 L204.13 44.277 L208.24 42 L212.35 44.277 L216.46 51.0256 L220.57 62.0021 L224.68 76.8095 L228.79 94.9128 L232.9 115.6577 L237.01 138.2944 L241.12 162.0047 L245.23 185.9317 L249.34 209.2106 L253.45 231 L257.56 250.5125 L261.67 267.0427 L265.78 279.9933 L269.89 288.8961 L274 293.4295 L278.11 293.4295 L282.22 288.8961 L286.33 279.9933 L290.44 267.0427 L294.55 250.5125 L298.66 231 L302.77 209.2106 L306.88 185.9317 L310.99 162.0047 L315.1 138.2944 L319.21 115.6577 L323.32 94.9128 L327.43 76.8095 L331.54 62.0021 L335.65 51.0256 L339.76 44.277 L343.87 42 L347.98 44.277 L352.09 51.0256 L356.2 62.0021 L360.31 76.8095 L364.42 94.9128 L368.53 115.6577 L372.64 138.2944 L376.75 162.0047 L380.86 185.9317 L384.97 209.2106 L389.08 231 L393.19 250.5125 L397.3 267.0427 L401.41 279.9933 L405.52 288.8961 L409.63 293.4295 L413.74 293.4295 L417.85 288.8961 L421.96 279.9933 L426.07 267.0427 L430.18 250.5125 L434.29 231 L438.4 209.2106 L442.51 185.9317 L446.62 162.0047 L450.73 138.2944 L454.84 115.6577 L458.95 94.9128 L463.06 76.8095 L467.17 62.0021 L471.28 51.0256 L475.39 44.277 L479.5 42\" style=\"fill:none; clip-path:url(#clipPath1); stroke:blue;\"/><path d=\"M68.5 294 L68.5 42 L68.5 42 L479.5 42 L479.5 294 L479.5 294 L68.5 294\" style=\"fill:none;\"/><path d=\"M479.5 42 L68.5 42\" style=\"fill:none;\"/><path d=\"M479.5 42 L479.5 294\" style=\"fill:none;\"/><path d=\"M479.5 42 L479.5 42\" style=\"fill:none;\"/></g></g></svg>"
      ],
      "text/plain": [
       "<IPython.core.display.SVG object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "b = 10*cos(t)+30; plot(b);"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "a  =\n",
      "1.   2.   3.\n"
     ]
    }
   ],
   "source": [
    "a = [1,2,3]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "b = a + 3;"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4.   5.   6.\n"
     ]
    }
   ],
   "source": [
    "disp(b)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Available line magics:\n",
      "%activity  %cd  %connect_info  %conversation  %dot  %download  %edit  %get  %help  %html  %include  %install  %install_magic  %javascript  %jigsaw  %kernel  %kx  %latex  %load  %ls  %lsmagic  %macro  %magic  %matplotlib  %parallel  %plot  %pmap  %px  %python  %reload_magics  %restart  %run  %scheme  %set  %shell\n",
      "\n",
      "Available cell magics:\n",
      "%%activity  %%brain  %%conversation  %%debug  %%dot  %%file  %%help  %%html  %%javascript  %%kx  %%latex  %%macro  %%pipe  %%processing  %%px  %%python  %%scheme  %%shell  %%show  %%time  %%tutor\n"
     ]
    }
   ],
   "source": [
    "%lsmagic"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "kernelspec": {
   "display_name": "Scilab",
   "language": "scilab",
   "name": "scilab"
  },
  "language_info": {
   "file_extension": ".sci",
   "help_links": [
    {
     "text": "MetaKernel Magics",
     "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
    }
   ],
   "mimetype": "text/x-octave",
   "name": "scilab",
   "version": "0.9.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
